package com.e_manager.soft.emanager.service.impl;

import com.e_manager.soft.emanager.entity.GHIJsonArr;
import com.e_manager.soft.emanager.idao.GHIJsonDao;
import com.e_manager.soft.emanager.service.GHIJsonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;

/**
 * @author : lip[lip4051@163.com]
 * @create : 2018/3/20 0020 下午 1:17
 */
@Service
public class GHIJsonServiceImpl implements GHIJsonService {
    @Autowired
    private GHIJsonDao ghiJsonDao;

    @Transactional
    @Override
    public void insertGHI(GHIJsonArr ghiJson) {
        if (ghiJson != null) {
            ghiJsonDao.insertGHI(ghiJson);
        }
    }

}
